package demo1;

public class Fish extends Animal{
    @Override
    public void func() {
        System.out.println(this.name+"可以游泳！");
    }

    public Fish(int age, String name) {
        super(age, name);
    }
}
